{__NOLAYOUT__}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>后盾微博-注册</title>
	<link rel="stylesheet" href="__HOME__/css/regis.css" />
	<script type="text/javascript" src="__HOME__/js/jquery-1.8.3.min.js"></script>
	<!--加载layer-->
	<script src="__PLUGINS__/layer/layer.js"></script>
	<!--加载表单验证插件 START-->
	<link href="__PLUGINS__/validator/jquery.validator.css" rel="stylesheet" type="text/css">
	<script src="__PLUGINS__/validator/jquery.validator.js"></script>
	<script src="__PLUGINS__/validator/lang_msg/zh.js"></script>
	<!--加载表单验证插件 END-->
	<script>
		var checkURL = "{:url('home/login/ajax_check_account')}";
		var sendUrl = "{:url('home/login/ajax_register')}";
		var checkVerifyURL = "{:url('home/login/ajax_check_verify')}";
	</script>
</head>
<body>
	<div id='logo'></div>
	<div id='reg-wrap'>
		<!--data-validator-option="{theme:'yellow_right_effect',stopOnError:true}"-->
		<form autocomplete="off" id="regFrom">
			<fieldset>
				<legend>用户注册</legend>
				<p>
					<label for="account">登录账号：</label>
					<input type="text" name='account' id='account' class='input'/>
				</p>
				<p>
					<label for="pwd">登录密码：</label>
					<input type="password" name='pwd' id='pwd' class='input'/>
				</p>
				<p>
					<label for="pwded">确认密码：</label>
					<input type="password" name='pwded' class='input'/>
				</p>
				<p>
					<label for="uname">昵称：</label>
					<input type="text"  name='uname' id='uname' class='input'/>
				</p>
				<p style="position: relative;">
					<label for="verify">验证码：</label>
					<input type="text" name='verify' class='input' id='verify' style="width: 200px;"/>
					<img src="{:captcha_src()}" id='verify-img' onclick="refreshF5()"/>
				</p>
				<p class='run'>
					<input type="submit" value='马上注册' id='regis'/>
				</p>
			</fieldset>
		</form>
	</div>
</body>
<script>
	function refreshF5(){
		var src  = $("#verify-img").attr('src');
		var newSrc = src + '?mt' + Math.random();
		$("#verify-img").attr('src',newSrc);
	}
</script>
<script type="text/javascript" src="__HOME__/js/tp5_register.js"></script>
<style>
	#verify-img{
		position: absolute;
		top: 18px;
		right: 44px;
		width: 80px;
		height: 30px;
		display: block;
		z-index: 100;
		cursor: pointer;
	}
</style>
</html>